Additive Synthesis with DIASS_M4C on Argonne National Laboratory's IBM POWERparallel System (SP)
نویسندگان
چکیده
DIASS-M4C. a digital additive instrument. was implemented on the Argonne National Laboratory's IBM POWERpanllel System (SP). This paper discusses the need for a massivley parallel supercomputer and shows how the code was panllelized. The resulting sounds and the degree of control the user can have justify the effon and the use of such a large computer. DIASS, a Digital Instnrment for Additive Synthesis on Supercomputers, is designed to allow control over ~ the finest details in sound synthesis and to uncover the possibilities that current supercomputer architectures can offer the experimental music composer. In DIASS, any sound can have up to 65 partials (sine waves), but this current limit can be replaced by any arbitrary number (Kriese, C. and Tipei, S). Each wave/partial is defined by 12 static parameters or constant values (such as start time. duration. hall size and decay time for the reverberation) and 13 dynamic parameters or time-variant values (such as pitch. amplitude. mmolo, vibnto. msients. mix between direct and reverberated sound). The dynamic parameters use macros. or envelopes, of up to ten segments to define their behavior in time; these envelopes are custom designed by the user/composer. who can specify the x or time values. they values and a path to be followed between y values. DIASS functions within the framework of the M4C sound synthesis language. an expanded C version of the 4BF program from At 65 partials/sound and 25 controlling parameters for each partial. the amount of dam to be specified by the user soon becomes hard to manage. Scor5. an editor or scorewriter. assists the user in creating an ASCII score file. a stack of' "I cards" each 41 lines long. Through an interactive menu. the user creates every sound from scratch and later can edit it. A number of macros help increase the efficiency of the process by automatizing certain operations: assigning amplitudes to all partials of a sound when given particular envelopes and either a percentage of the fundamental's amplitude or a "taper" factor: ensuring that when the user specifies a certain loudness (in sones). the same perceived level results for sounds of different frequencies and number of partials (equal loudness): calculating the correct frequencies for all partials so they stay in the m e relationship during a glissando: coordinating the use of randomness during vibnto or tremolo so that all partials of a sound are affected in the same way,atthe-sme time and "gel" into a complex timbre: making sure that at no time the ceiling of maximum amplitude is crossed. Even then. choosing this many options for each of the hundreds of sounds that make up a piece is tedious. Since the most efficient use of DIASS is in connection with a computer-assisted composition program, an interface. diaintf. automatically translates the composition program's output into a script to be used as input forScor5. The time and memory requirements for DIASS-M4C can vary according to the complexity of each sound and of the music in general. The more partials (waves) in a sound. the more options selected, or the more simultanepus sounds, the longer it takes to compute a seeond of music. To give an example, apiece for three voices (streams of sounds and/or chords), lasting about 12 minutes and containing 674 individual sounds some with 21 waves, some with 34, and some with 65. generated at a sampling rate of 22,050 Hz. stereo. . the MusicN family. The submitted manuscriPt has been autnored by a contractor of the U.S. Gwnernment under contract No. W-31-100ENG-38. Accordingly. the U. S. Government retains a nonexclusive. royalty-free license to Slbhsh or reproduce the wblihed lorm d !hn . . gisTRiBgTiOt~ QF is DoCG~JENT IS involves a 60 MB sound file and a 30 MB score file. On an IBM RS/6000. it takes about 90 min. to write the score with ScorS from the script produced with diaintf and about 12 times longer to compute the samples. It is obvious that even such a relatively modest piece requires a high-speed computer with large amounts of RAM and disk space. DIASS was developed successively on NeXT, CR4Y Y-MP, and RS/6000 platforms. but none of them appeared adequate for the production stage. Only a massively parallel computer such as Argonne National Laboratory's IBM POWERparaIlel System (SP). a cluster of 128 RS/6000s w i h 125 MB RAM on each node. could become an effective tool for the composer. So far we concentrated on modifying the code for DIASS-M4C, the most time-consuming part of the process, in order to enable it to run in parallel on the IBM SP. Our approach is that of "task farming": individual sounds are computed on different nodes and the results are mixed together at the end. One node controls the entire operation and assigns tasks to other nodes as they become available. The user provides the score file (list of sound events to be synthesized) and requests a number of nodes on which the computations are to take place. The decision of panllelizing at the sound level and not at a lower one was made for two main reasons: (1) the efficiency of message passing between nodes was estimated to be at its peak at this level; and (2) within a sound, individual partials need-to have access to the same random numbers in order to coordinate nondeterministic features such as vibrato. transients and tremolo. The tool used was MPI. a portable parallel programming message-passing interface and library (Gropp, W., Lusk. E., Skjellum. A). Preliminary resuIts were convincing: a 6 minute piece of 200 sounds 16 waves each was computed in a little less than 1 hour. showing that the time for generating the binary samples is almost exactly the time necessary for sequential computation divided by the number of nodes used. It follows that with 100 or so nodes. the 12 minute piece described above could be computed in less than real time. Additive synthesis is an expensive proposition. and DIASS-M4C takes it almost to the limit of what supercomputer architectures can offer at the present time. Why then not settle for alternatives that are less costly and easier to implement ? The answer is in the kind of sounds which would be very hard, if not impossible, 10 obtain any other way: sounds whose harmonics are progressively "detuned". to produce percussionor noise-like timbres. and noises that are txansformedinto sounds through tuning; the "morphing" of a complex timbre which is decomposed into chords or. even further, into individual sine waves; as well as the reverse process: the use of amplitude and frequency transients to better approximate acoustic instruments when used in modention or to create unusual sonorities when exaggerated: and the accurate scaling of amplitudes. taking into account masking effects and the Fletcher-Munson curves of equal loudness to reflect the loudness level desired by the composer. even in the case of large chords made out of complex timbres. More than anything else, though. on Argonne National Laboratory's IBM SP supercomputer, DIASS-M4C is a practical instrument that gives the user control over the internal structure of a sound in as much detail as desired and as far as hisher imagination and patience will go. It is easy to see also how DIASS-M4C might become a powerful tool for the sonification of complex scientific d a ~ ~ . --__ .References: -Gropp,W.,LuskE. and Skjellum, A. Using MPI. The MITPress. 1994. -Kriese, C., and Tipei, S . A Compositional Approach to Additive Synthesis on Supercomputers, Proceedings of the 1992 International Computer Music Conference, San Jose, California, 1992. Acknowledgments: This work was supported by the Mathematical, Information, and Computational Sciences Division subprogram of the Office of Computational and Technology Research. U.S. Department -of-Energy, under contract W-3 1-109-Eni38. Part of the-rese&h was funded by Univ. of Illinois Research BoGd. Thanks to D. Blumenthal. M. Lauria, T. Lawrence, and S. Pakin for writing the parallel version of M4C.
منابع مشابه
An Experimental Distributed Deductive Database System
In this paper we describe a distributed environment for the evaluation of data intensive queries through deductive rules. The distributed database query answering system has been developed on the IBM SP (POWERParallel) available in Argonne National Laboratory. Beyond acting as a testbed, experiments with the system demonstrate that it ooers signiicantly improved performance over single processo...
متن کاملThe ANL/IBM SP Scheduling System
During the past ve years scientists discovered that modern UNIX workstations connected with ethernet and ber networks could provide enough computational performance to compete with the supercomputers of the day. As this concept became increasingly popular, the need for distributed queuing and scheduling systems became apparent. Systems such as DQS from Florida State were developed and worked ve...
متن کاملSystem Utilization Benchmark on the Cray T3E and IBM SP
Obtaining maximum utilization of parallel systems continues to be an active area of research and development. This article outlines a new benchmark, called the Eflectiwe System Performance (ESP) test, designed to provide a utilization metric that is transferable between systems and illuminate the effects of various scheduling parameters. Results with discussion are presented for the Cray T3E an...
متن کاملVibrational Eigenstates of Four-Atom Molecules: A Parallel Strategy Employing the Implicitly Restarted Lanczos Method
We present an approach for determining the vibrational eigenstates of four-atom molecules. The primary representation of the (six-dimensional) eigenstates involves a nite basis or quantum number representation, whereas Hamiltonian matrix-vector products are evaluated with the aid of certain grid or discrete variable representations. This approach leads to computational and memory demands that a...
متن کاملA distributed connection manager interface for web services on IBM SP systems
In essence, the World Wide Web is a worldwide string of computer databases using a common information retrieval architecture. With the increasing popularity of the World Wide Web, more and more functions have been added to retrieve not only documents written in HTML (Hypertext Markup Language), but also those in other forms through the Common Gateway Interface (CGI), by constructing HTML docume...
متن کامل